## Alternant code

from PyM import *
    
    
p = 19; K = Zn(p)

a = [element(j,K) for j in range(2,p) if is_prime(j)]

h = [element(j,K) for j in range(1,1+len(a))]

C = alternant_code(h,a,5)

show(K_(C))

show(h_(C))

show(a_(C))

show(b_(C))

show(a_(C)*b_(C))

show(r_(C))

show(H_(C))





